package com.yehun.shiro;

public enum ShiroUserType {

    ADMIN(1, AdminRealm.class.getName()),
    USER(10, UserRealm.class.getName());

    private int value;
    private String text;

    ShiroUserType(int value, String text) {
        this.value = value;
        this.text = text;
    }

    public int getValue() {
        return value;
    }

    public String getText() {
        return text;
    }
}
